package com.molichuxing.services.infrastructure.service;


import com.molichuxing.framework.dto.Paged;
import com.molichuxing.services.infrastructure.dto.request.create.CarsMileageWarnEnterpriseDto;
import com.molichuxing.services.infrastructure.dto.response.CarsMileageWarnEnterpriseResDto;

import java.util.Map;

/**
 * <p>
 * 企业订单车辆超程报警表 服务类
 * </p>
 *
 * @author wanghualin
 * @since 2020-06-03
 */
public interface ICarsMileageWarnEnterpriseService  {
    /**
     * Dto
     * @param map
     * @param pageNum
     * @param pageSize
     * @return
     */
    Paged<CarsMileageWarnEnterpriseResDto> listCarsMileageWarnEnterprise(Map<String, Object> map, Integer pageNum, Integer pageSize);

     /* *
     *  添加
     * @param dto
     * @return
     */
     Integer saveCarsMileageWarnEnterprise(CarsMileageWarnEnterpriseDto dto);

    /**
     * 修改
     * @param dto
     * @return
     */
     Integer updateCarsMileageWarnEnterprise(CarsMileageWarnEnterpriseDto dto);

    /**
     * 获得详情
     * @param id
     * @return
     */
    CarsMileageWarnEnterpriseResDto getCarsMileageWarnEnterprise(Integer id);
}
